raar.gui.filetools
Class RAGFileView

java.lang.Object
  extended by javax.swing.filechooser.FileView
      extended by raar.gui.filetools.RAGFileView

public class RAGFileView
extends javax.swing.filechooser.FileView

Create nice icons for dialog boxes et cetera, representing our file types.


Constructor Summary
RAGFileView()
           
 
Method Summary
 javax.swing.Icon getIcon(java.io.File f)
          Provide an icon for the file, if we can.
 java.lang.String getTypeDescription(java.io.File f)
          Describe the file given.
 
Methods inherited from class javax.swing.filechooser.FileView
getDescription, getName, isTraversable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RAGFileView

public RAGFileView()
Method Detail

getTypeDescription

public java.lang.String getTypeDescription(java.io.File f)
Describe the file given.

Overrides:
getTypeDescription in class javax.swing.filechooser.FileView

getIcon

public javax.swing.Icon getIcon(java.io.File f)
Provide an icon for the file, if we can.

Overrides:
getIcon in class javax.swing.filechooser.FileView